package com.gblw.rjkf.pj.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gblw.rjkf.pj.entity.SysRole;
import com.gblw.rjkf.pj.utils.Result;

import java.util.List;

/**
 * SysRoleService(SysRole)
 *
 * @author wj
 * @since 2024-09-20 19:18:09
 */

public interface SysRoleService extends IService<SysRole> {
    Result page(Integer pageNum, Integer pageSize, String name);

    Result insert(SysRole user);



    Result update(SysRole user);

    Result buildMenuTree();

    List<String> cachedPermissions();

    List<String> getRoleList();
}
